﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zocono.WCS.Domain.ProcessModuleDomain;

namespace Zocono.WCS.Domain.EquipmentProcessDomain
{
    public interface IProcessPlanarService : IDomainService
    {
        /// <summary>
        /// 处理平面设备的报文
        /// </summary>
        /// <param name="planarEquipmentDbObject">平面设备报文</param>
        /// <param name="plcStateProcessModule">Plc设备在线离线状态报文</param>
        /// <returns></returns>
        Task ProcessAsync(EquipmentDbObject planarEquipmentDbObject/*, ProcessModule plcStateProcessModule*/);


        /// <summary>
        /// 定时加载数据
        /// </summary>
        /// <returns></returns>
        Task ReloadPlanarActionMessage();
    }
}
